﻿using System.ComponentModel.DataAnnotations.Schema;

namespace MapleLeaf.IdentityServer.Models {

    [Table("ML_SYS_SERIALNUMBER")]
    public class MLSerialNumber : BaseEntity {

        /// <summary>
        /// 前缀
        /// </summary>
        [Column("ML_PREFIX")]
        public string Prefix { set; get; }
        /// <summary>
        /// 后缀
        /// </summary>
        [Column("ML_SUFFIX")]
        public string Suffix { set; get; }
        /// <summary>
        /// 年份
        /// </summary>
        [Column("ML_YEAR")]
        public string Year { set; get; }
        /// <summary>
        /// 月份
        /// </summary>
        [Column("ML_MONTH")]
        public string Month { set; get; }
        /// <summary>
        /// 日期
        /// </summary>
        [Column("ML_DAY")]
        public string Day { set; get; }
        /// <summary>
        /// 流水码
        /// </summary>
        [Column("ML_NUMBER")]
        public int Number { set; get; }
        /// <summary>
        /// 流水码类型
        /// </summary>
        [Column("ML_TYPE")]
        public string Type { set; get; }

    }
}
